@layout("/common/_container.html"){
<div class="row">
    <div class="col-sm-12">
        <div class="ibox float-e-margins">
            <div class="ibox-title">
                <h5>巡视区域表管理</h5>
            </div>
            <div class="ibox-content">
                <div class="row row-lg">
                    <div class="col-sm-12">
                        <div class="row">
                            <div class="col-sm-3">
                                <#NameCon id="areaName" name="名称" />
                            </div>
                            <div class="col-sm-3">
                                <#NameCon id="position" name="位置" />
                            </div>
                            <div class="col-sm-3">
                                <select class="form-control" id="storeyId">
                                    <option value="">全部</option>
                                    @for(s in list){
                                    <option value="${s.id}">${s.name}</option>
                                    @}
                                </select>
                            </div>
                            <div class="col-sm-3">
                                <#button name="搜索" icon="fa-search" clickFun="PatrolArea.search()"/>
                            </div>
                        </div>
                        <div id="PatrolAreaTableToolbar" role="group">
                            @if(shiro.hasPermission("/patrolArea/add")){
                                <#button name="添加" icon="fa-plus" clickFun="PatrolArea.openAddPatrolArea()"/>
                            @}
                            @if(shiro.hasPermission("/patrolArea/update")){
                                <#button name="修改" icon="fa-edit" clickFun="PatrolArea.openPatrolAreaDetail()" space="true"/>
                            @}
                            @if(shiro.hasPermission("/patrolArea/delete")){
                                <#button name="删除" icon="fa-remove" clickFun="PatrolArea.delete()" space="true"/>
                            @}
                        </div>
                        <#table id="PatrolAreaTable"/>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<script src="${ctxPath}/static/modular/clean/patrolArea/patrolArea.js"></script>
@}
